package com.markerhub.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.markerhub.entity.ManagerActivity;
import com.markerhub.entity.ManagerClass;
import com.baomidou.mybatisplus.extension.service.IService;
import com.markerhub.entity.ManagerStudent;

import java.util.List;

public interface ManagerClassService extends IService<ManagerClass> {
    public ManagerClass getByClassName(String className);
    IPage getClassesByActivityName(String activityName, int currentPage, int pageSize);
    IPage getClasses(String activityName, String className, String classDesc, String teacherName, int currentPage, int pageSize);

    IPage<ManagerClass> getTeacherClasses(Page<ManagerClass> page, Long teacherId, String className);

    List<ManagerStudent> getClassStudents(Integer classId);
}
